<div id="header">
	<div class="block">
		<a href="" id="logo"><img src="__PUBLIC__/images/logo.png"></a>
		<div id="nav">
			<div id="tel">
				<img src="__PUBLIC__/images/tel.jpg"><span>{$webInfo['company_phone']}</span>
				<if condition="$user_id">
					{$name}，<a href="{:U('logout')}">退出</a>
				<else />
					<img src="__PUBLIC__/images/user.jpg"><a href="/login">登录</a>&nbsp;&nbsp;&nbsp;<a href="/register">注册</a>
				</if>
				
			</div>
			<ul>
				<li ><a href="/" <if condition="($webpage eq 'home')">class="active"</if>>首页</a></li>
				<li><a href="/about" <if condition="($webpage eq 'about')">class="active"</if>>关于我们</a></li>
				<li><a href="/article" <if condition="($webpage eq 'news')">class="active"</if>>权威资讯</a></li>
				<li><a href="/contact" <if condition="($webpage eq 'contact')">class="active"</if>>联系我们</a></li>
				<li><a href="/user" style="padding-right:0;" <if condition="($webpage eq 'ucenter')">class="active"</if>>我的账户</a></li>
			</ul>
		</div>
	</div>
</div>
<div class="clear"></div>